<?php include_once "../controle/inscConcursoDetalhe.php"; ?>
<!DOCTYPE html>
<html>
<head>
    <title> .:: KLC Concursos - ADMIN ::. </title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <script type="text/javascript" src="../../js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="../../js/jquery.slidertron-1.3.js"></script>
    <script type="text/javascript" src="../../js/estado_cidade.js" ></script>
    <script type="text/javascript" src="../../js/javascript.js"></script>
    <link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet">
    <link href="../../css/default.css" rel="stylesheet" type="text/css" media="all">
    <link href="../../css/fonts.css" rel="stylesheet" type="text/css" media="all">
    <link href="../../css/style.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
  
    <div id="header-wrapper">
	<div id="header" class="container">
            <div id="artetopo">
                <a href="../index.php">                        
                    <img src="../images/cabec_site.jpg" title="KLC Consultoria" alt="KLC Consultoria">
                </a>
            </div>
        </div>
    </div>
    <div id="center">
        <section>
            <h1><?=$concurso->get_titulo()?></h1>
            
            <fieldset>
                <legend>Filtros</legend>
                <form action="" method="post">
                    <input type="radio" name="pg" value="1" id="pago" <?php if($_SESSION["pg"] == 1){ echo "checked"; } ?>>
                    <label for='pago'>Pagos</label>&nbsp;&nbsp;
                    <input type="radio" name="pg" value="2" id="npago" <?php if($_SESSION["pg"] == 2){ echo "checked"; } ?>>
                    <label for='npago'>Não pagos</label>&nbsp;&nbsp;
                    <input type="radio" name="pg" value="0" id="nfiltrar" <?php if($_SESSION["pg"] == 0){ echo "checked"; } ?>>
                    <label for='nfiltrar'>Não filtrar</label>&nbsp;&nbsp;
                    <br/><br/>
                    <input type="radio" name="ap" value="1" id="aprovado" <?php if($_SESSION["ap"] == 1){ echo "checked"; } ?>>
                    <label for='aprovado'>Aprovados</label>&nbsp;&nbsp;
                    <input type="radio" name="ap" value="2" id="naprovado" <?php if($_SESSION["ap"] == 2){ echo "checked"; } ?>>
                    <label for='naprovado'>Não aprovados</label>&nbsp;&nbsp;
                    <input type="radio" name="ap" value="0" id="nfaprovado" <?php if($_SESSION["ap"] == 0){ echo "checked"; } ?>>
                    <label for='nfaprovado'>Não filtrar</label>&nbsp;&nbsp;
                    <br/><br/>
                    <label>Cargos: </label>
                    <select name="cargo" style="width: 870px">
                        <option value="0"> Todos os Cargos </option>
                        <?=mostraCargosDetalhe($concurso->get_id(),$_SESSION["cargo"])?>
                    </select>
                    <br/><br/>
                    <button type='submit' name='btn_filtrar' value='Filtrar'>Filtrar</button>
                </form>
            </fieldset>
            <br>
            
                <?=mostraCandidatoDetalhes($id_concurso, $filtro_pago, $_GET["t"])?>
            
        </section>
        <footer>

        </footer>
    </div>

    <div id="copyright" class="container">
        <p>Copyright (c) 2015 klcconcursos.com.br Todos os Direitos Reservados. | Design by <a href="http://www.anguloweb.com.br/" rel="nofollow">AnguloWeb Soluções para Internet</a>.</p>
        <img align="right" src="../../images/logoaw.png" alt="AnguloWeb Soluções para Internet" title="AnguloWeb Soluções para Internet">
    </div>
</body>
</html>